.class Les/y9$c;
.super Ljava/lang/Object;
.source "AudioProcessor.java"

# interfaces
.implements Les/l9$h;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/y9;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/y9;


# direct methods
.method constructor <init>(Les/y9;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/y9$c;->a:Les/y9;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/l9;ZLandroid/media/MediaFormat;)I
    .locals 0

    .line 2
    iget-object p1, p0, Les/y9$c;->a:Les/y9;

    invoke-static {p1, p3}, Les/y9;->c(Les/y9;Landroid/media/MediaFormat;)Z

    const/4 p1, 0x0

    return p1
.end method

.method public a(Les/l9;Z)V
    .locals 0

    return-void
.end method

.method public a(Les/l9;ZLcom/esfile/screen/recorder/media/util/l;)V
    .locals 0

    .line 3
    iget-object p1, p0, Les/y9$c;->a:Les/y9;

    invoke-static {p1, p3}, Les/y9;->b(Les/y9;Lcom/esfile/screen/recorder/media/util/l;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 4
    invoke-virtual {p3}, Lcom/esfile/screen/recorder/media/util/l;->a()V

    :cond_0
    return-void
.end method

.method public a(Les/l9;ZLjava/lang/Exception;)V
    .locals 0

    .line 1
    iget-object p1, p0, Les/y9$c;->a:Les/y9;

    invoke-static {p1, p3}, Les/y9;->b(Les/y9;Ljava/lang/Exception;)Z

    return-void
.end method

.method public b(Les/l9;Z)V
    .locals 0

    .line 6
    iget-object p1, p0, Les/y9$c;->a:Les/y9;

    invoke-virtual {p1}, Les/y9;->c()Z

    return-void
.end method

.method public b(Les/l9;ZLandroid/media/MediaFormat;)V
    .locals 3

    const/16 p1, 0x800

    if-eqz p3, :cond_0

    const-string p2, "max-input-size"

    .line 1
    invoke-virtual {p3, p2}, Landroid/media/MediaFormat;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p3, p2}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result p2

    if-lez p2, :cond_0

    move p1, p2

    :cond_0
    const/4 p2, 0x0

    :goto_0
    const/4 p3, 0x3

    if-ge p2, p3, :cond_1

    .line 3
    new-instance p3, Lcom/esfile/screen/recorder/media/util/l;

    iget-object v0, p0, Les/y9$c;->a:Les/y9;

    invoke-static {v0}, Les/y9;->e(Les/y9;)Lcom/esfile/screen/recorder/media/util/m;

    move-result-object v0

    .line 4
    invoke-static {p1}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;

    move-result-object v1

    new-instance v2, Landroid/media/MediaCodec$BufferInfo;

    invoke-direct {v2}, Landroid/media/MediaCodec$BufferInfo;-><init>()V

    invoke-direct {p3, v0, v1, v2}, Lcom/esfile/screen/recorder/media/util/l;-><init>(Lcom/esfile/screen/recorder/media/util/m;Ljava/nio/ByteBuffer;Landroid/media/MediaCodec$BufferInfo;)V

    .line 5
    iget-object v0, p0, Les/y9$c;->a:Les/y9;

    invoke-static {v0}, Les/y9;->f(Les/y9;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 p2, p2, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method

.method public c(Les/l9;Z)V
    .locals 0

    return-void
.end method
